import React, {Component} from 'react';
import '../../component/Questionnaire.css';

/**
 * 课题组4 替代燃料协同处置废物
 * @autuhor zm
 */
export default class ResultTable4 extends Component {


    render() {
        //定义input的value数组
        const data = this.props.group1Data;

        const hiddenData = "*****";//显示隐藏信息的占位符
        return (
            <div>
                <div className="first">
                    <h2 style={{textAlign: 'center'}}>***协同处置数据</h2><br/>
                    <table className="table5">

                        <th>ID：</th>
                        <td style={{width: '10%'}}>
                            {data.projectId}
                        </td>

                        <th>企业名称：</th>
                        <td style={{width: '10%'}}>
                            {data.enterpriseName}
                        </td>

                        <th>国家：</th>
                        <td style={{width: '10%'}}>
                            {data.country}
                        </td>

                        <th>省：</th>
                        <td style={{width: '10%'}}>
                            {data.province}
                        </td>


                    </table>

                    <table className="table6">
                        <tr>
                            <th>资源归类编码：</th>
                            <td style={{width: '10%'}}>
                                {data.resourceId}
                            </td>

                            <th>生产线编号：</th>
                            <td style={{width: '10%'}}>
                                {''}
                            </td>

                            <th>处理规模</th>
                            <td style={{width: '10%'}}>
                                {data.chuliguimo+data.chuliguimo_dw}
                            </td>

                            <th>固废类型</th>
                            <td style={{width: '10%'}}>
                                {data.gufei_lx}
                            </td>

                            <th>投产年度</th>
                            <td style={{width: '10%'}}>
                                {data.touchan_nd}
                            </td>
                        </tr>
                    </table>
                </div>

                <div className="second">
                    <table border="3" className="table1">
                        <tr>
                            <th rowSpan='4' style={{width: '2%'}}>基<br/>本<br/>信<br/>息</th>
                            <th rowSpan='2' style={{width: '10%'}}>信息</th>
                            <td>保存单位</td>
                            <td>资源提供者</td>
                            <td>资源提供时间</td>
                            <td>共享方式</td>
                            <td>获取途径</td>
                            <td>联系人</td>
                        </tr>
                        <tr>
                            <td>
                                {data.saveDepartment}
                            </td>
                            <td>
                                {data.resourceProvide}
                            </td>
                            <td>
                                {data.resourceProvideTime}
                            </td>
                            <td>
                                1.{data.sharingMode}
                            </td>
                            <td>
                                {data.accessWay}
                            </td>
                            <td rowSpan="3">
                                {data.linkman}
                            </td>
                        </tr>

                        <tr>
                            <th rowSpan='2' style={{width: '10%'}}>信息</th>
                            <td>
                                单位
                            </td>
                            <td>
                                地址
                            </td>
                            <td>
                                邮编
                            </td>
                            <td>
                                电话
                            </td>
                            <td style = {{width: '20%'}}>
                                E-mail
                            </td>
                        </tr>

                        <tr>
                            <td>
                                {data.department}
                            </td>
                            <td>
                                {data.address}
                            </td>
                            <td>
                                {data.postalCode}
                            </td>
                            <td>
                                {data.phone}
                            </td>
                            <td>
                                {data.email}
                            </td>
                        </tr>

                    </table>

                    <table border="3" className="table2">
                        <tr>
                            <th rowSpan='5'>原状垃圾特性</th>
                            <th>项目</th>
                            <th>含水量</th>
                            <th>低位热值</th>
                            <th rowSpan='5'>预处理过程</th>
                            <th colSpan='5'>预处理后主要产物量</th>
                            <th>处理后替代燃料含水量</th>
                            <th>处理后替代燃料热值</th>
                            <th>垃圾渗滤液的处理</th>
                        </tr>
                        <tr>
                            <th rowSpan='2'>单位</th>
                            <td rowSpan='2'>%</td>
                            <td rowSpan='2'>Kcal/Kg</td>
                            <td>项目</td>
                            <td>可燃组分</td>
                            <td>惰性材料</td>
                            <td>渗滤液</td>
                            <td>金属</td>
                            <th rowSpan='2'>%</th>
                            <th rowSpan='2'>Kcal/Kg</th>
                            <th rowSpan='2'>~~~</th>
                        </tr>

                        <tr>
                            <th>单位</th>
                            <td>
                                t/t垃圾
                            </td>
                            <td>
                                t/t垃圾
                            </td>
                            <td>
                                t/t垃圾
                            </td>
                            <td>
                                t/t垃圾
                            </td>
                        </tr>

                        {/*4行*/}
                        <tr>
                            <th rowSpan='2'>数值</th>
                            <td rowSpan='2'>
                                {data.hanshuiliang}
                            </td>
                            <td rowSpan='2'>
                                {data.diwei_rz}
                            </td>
                            <td rowSpan='2'>
                                {''}
                            </td>
                            <td rowSpan='2'>
                                {data.keran_zf}
                            </td>
                            <td rowSpan='2'>
                                {data.duoxing_cl}
                            </td>
                            <td rowSpan='2'>
                                {data.chanlvye}
                            </td>
                            <td rowSpan='2'>
                                {data.jinshu}
                            </td>
                            <td rowSpan ='2'>
                                {data.chulihou_tdrl_hsl}
                            </td>
                            <td rowSpan ='2'>
                                {data.chulihou_tdrl_rz}
                            </td>
                            <td rowSpan ='2'>
                                {data.laji_sly_cl}
                            </td>
                        </tr>
                    </table>

                    <table border="3" className="table3">
                        <tr>
                            <th rowSpan='5'>能耗影响</th>
                            <th colSpan='3'>熟料产量</th>
                            <th colSpan='2'>可比熟料综合煤耗</th>
                            <th colSpan='2'>可比熟料综合电耗</th>
                            <th colSpan='2'>可比熟料综合能耗</th>
                        </tr>
                        <tr>
                            <th>项目</th>
                            <th>协同处置前</th>
                            <th>协同处置后</th>
                            <th>协同处置前</th>
                            <th>协同处置后</th>
                            <th>协同处置前</th>
                            <th>协同处置后</th>
                            <th>协同处置前</th>
                            <th>协同处置后</th>
                        </tr>

                        <tr>
                            <th >单位</th>
                            <td>
                                （t/d）
                            </td>
                            <td>
                                （t/d）
                            </td>
                            <td>
                                kgce/t
                            </td>
                            <td>
                                kgce/t
                            </td>
                            <td>
                                kwh/t
                            </td>
                            <td>
                                kwh/t
                            </td>
                            <td>
                                kgce/t
                            </td>
                            <td>
                                kgce/t
                            </td>
                        </tr>

                        <tr>
                            <th rowSpan='2'>数值</th>
                            <td rowSpan='2'>
                                {data.shouliaocl_xtczq}
                            </td>
                            <td rowSpan='2'>
                                {data.shouliaocl_xtczh}
                            </td>
                            <td rowSpan='2'>
                                {data.kebisl_zhmh_xtczq}
                            </td>
                            <td rowSpan='2'>
                                {data.kebisl_zhmh_xtczh}
                            </td>
                            <td rowSpan='2'>
                                {data.kebisl_zhdh_xtczq}
                            </td>
                            <td rowSpan='2'>
                                {data.kebisl_zhdh_xtczh}
                            </td>
                            <td rowSpan='2'>
                                {data.kebisl_zhnh_xtczq}
                            </td>
                            <td rowSpan='2'>
                                {data.kebisl_zhnh_xtczh}
                            </td>
                        </tr>
                    </table>

                    <table border="3" className="table3">
                        <tr>
                            <th rowSpan='5'>熟料重金属离子溶出（酸溶法） </th>
                            <th colSpan='3'>Cu</th>
                            <th colSpan='2'>Zn</th>
                            <th colSpan='2'>Cr</th>
                            <th colSpan='2'>Ba</th>
                            <th colSpan='2'>Be</th>
                            <th colSpan='2'>Ni</th>
                            <th colSpan='2'>Pb</th>
                            <th colSpan='2'>Ag</th>
                            <th colSpan='2'>As</th>
                            <th colSpan='2'>Hg</th>
                        </tr>

                        <tr>
                            <th>项目</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                        </tr>

                        <tr>
                            <th>单位</th>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                            <td>
                                mg/L
                            </td>
                        </tr>

                        <tr>
                            <th rowSpan='2'>数值</th>
                            <td rowSpan='2'>
                                {data.cu_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.cu_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.zn_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.zn_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.cr_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.cr_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.cr_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.cr_czh}
                            </td>

                            <td rowSpan='2'>
                                {data.be_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.be_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.ni_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.ni_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.pb_czq}
                            </td>

                            <td rowSpan='2'>
                                {data.pb_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.ag_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.ag_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.as_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.as_czh}
                            </td>

                            <td rowSpan='2'>
                                {data.hg_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.hg_czh}
                            </td>
                        </tr>
                    </table>

                    <table border="3" className="table3">
                        <tr>
                            <th rowSpan='5'>熟料物理力学性能</th>
                            <th colSpan='3'>28d抗折强度</th>
                            <th colSpan='2'>28d抗压强度</th>
                            <th colSpan='2'>标稠</th>
                            <th colSpan='2'>初凝</th>
                            <th colSpan='2'>终凝</th>
                        </tr>

                        <tr>
                            <th>项目</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                        </tr>



                        <tr>
                            <th>单位</th>
                            <td>
                                MPa
                            </td>
                            <td>
                                MPa
                            </td>
                            <td>
                                MPa
                            </td>
                            <td>
                                MPa
                            </td>
                            <td>
                                mm
                            </td>
                            <td>
                                mm
                            </td>
                            <td>
                                待填
                            </td>
                            <td>
                                待填
                            </td>
                            <td>
                                待填
                            </td>
                            <td>
                                待填
                            </td>
                        </tr>

                        <tr>
                            <th rowSpan='2'>数值</th>
                            <td rowSpan='2'>
                                {data._28d_kzqd_czq}
                            </td>
                            <td rowSpan='2'>
                                {data._28d_kzqd_czh}
                            </td>
                            <td rowSpan='2'>
                                {data._28d_kyqd_czq}
                            </td>
                            <td rowSpan='2'>
                                {data._28d_kyqd_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.biaochou_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.biaochou_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.chuning_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.chuning_czh}
                            </td>

                            <td rowSpan='2'>
                                {data.zhongning_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.zhongning_czh}
                            </td>
                        </tr>
                    </table>

                    <table border="3" className="table3">
                        <tr>
                            <th rowSpan='5'>大气排放物影响</th>
                            <th colSpan='3'>窑尾颗粒物</th>
                            <th colSpan='2'>窑尾SO2</th>
                            <th colSpan='2'>窑尾NOx</th>
                            <th colSpan='2'>窑尾氟化物</th>
                        </tr>

                        <tr>
                            <th>项目</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                            <th>处置前</th>
                            <th>处置后</th>
                        </tr>



                        <tr>
                            <th>单位</th>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>
                            <td>
                                mg/m3
                            </td>

                        </tr>

                        <tr>
                            <th rowSpan='2'>数值</th>
                            <td rowSpan='2'>
                                {data.yaowei_klw_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_klw_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_SO2_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_SO2_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_NOx_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_NOx_czh}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_lhw_czq}
                            </td>
                            <td rowSpan='2'>
                                {data.yaowei_lhw_czh}
                            </td>

                        </tr>
                    </table>
                </div>
            </div>
        )
    }

}




